<%@ page language="java" errorPage="/WEB-INF/common/exception.jsp" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>在线报名</title>
<script type="text/javascript" language="javascript">
</script>
</head>
<body>
<div class="main">
    <div class="subTitle">
        <h2><strong>在线报名</strong></h2>
    </div>
	<form name="form1" action="<c:url value='/admin/info/enter/index.jhtml'/>" method="post">
    <div class="frmBar mT5">
		姓名: <input class="input" type="text" name="vo.name" value="${vo.name}" size="20"/>&nbsp;&nbsp;
		报读课程：<select name="vo.course.id">
			<option value="" <c:if test="${empty vo.course.id}">selected="selected"</c:if>>---请选择---</option>
			<c:forEach var="course" items="${courseList}">
				<option value="${course.id}" <c:if test="${vo.course.id==course.id}">selected="selected"</c:if>>${course.name}</option>
			</c:forEach>
		</select>&nbsp;&nbsp;
		<input type="submit" class="btn" value="搜索" />&nbsp;&nbsp;
	</div>
	</form>

    <div class="ntable_mid mT5">
		<display:table name="pageList" id="vo" class="nm_table" style="width:100%" cellspacing="0" requestURI="index.jhtml">
			<display:column title="序号" style="width:30px;">${pageList.startIndex + vo_rowNum}</display:column>
			<display:column title="班级" style="width:100px;">${vo.grade.name}</display:column>
			<display:column title="课程" style="width:100px;">${vo.course.name}</display:column>
			<display:column title="试听人" style="width:100px;">${vo.name}</display:column>
			<display:column title="电话" style="width:100px;">${vo.phone}</display:column>
			<display:column title="邮箱">${vo.email}</display:column>
			<display:column title="QQ" style="width:100px;">${vo.qq}</display:column>
			<display:column title="操作" style="width:150px;">
				<span class="caozuo">
					<a href="#" onclick="openDialog('details.jhtml?id=${vo.id}','报名详情');" class="show">详情</a>&nbsp;|&nbsp;
					<a href="delete.jhtml?id=${vo.id}" class="del">删除</a>
				</span>
			</display:column>
			<display:setProperty name="paging.banner.item_name">在线报名</display:setProperty>
			<display:setProperty name="paging.banner.items_name">在线报名</display:setProperty>
		</display:table>
	</div>

</div>
</body>
</html>

